package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:12
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductVersionStageDAO extends IDataAccessInterface<ProductVersionStage, ProductVersionStageDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_VERSION_STAGE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_VERSION_STAGE.ID";

    /**
     * Mapped Field PRODUCT_VERSION_ID
    */
    static final String ProductVersionId = "PRODUCT_VERSION_STAGE.PRODUCT_VERSION_ID";

    /**
     * Mapped Field STAGE_NAME
    */
    static final String StageName = "PRODUCT_VERSION_STAGE.STAGE_NAME";

    /**
     * Mapped Field START_DATE
    */
    static final String StartDate = "PRODUCT_VERSION_STAGE.START_DATE";

    /**
     * Mapped Field END_DATE
    */
    static final String EndDate = "PRODUCT_VERSION_STAGE.END_DATE";

    /**
     * Mapped Field ACTUAL_START_DATE
    */
    static final String ActualStartDate = "PRODUCT_VERSION_STAGE.ACTUAL_START_DATE";

    /**
     * Mapped Field ACTUAL_END_DATE
    */
    static final String ActualEndDate = "PRODUCT_VERSION_STAGE.ACTUAL_END_DATE";

    /**
     * Mapped Field SORT_INDEX
    */
    static final String SortIndex = "PRODUCT_VERSION_STAGE.SORT_INDEX";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_VERSION_STAGE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_VERSION_STAGE.REMARKS";

    /**
     * Mapped Attribute productVersionName
    */
    static final String ProductVersionName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductVersionDAO.ProductVersion,
            com.ourteam.product.requirement.dao.IProductVersionDAO.EntityName +
            ".", "PRODUCT_VERSION.");

    /**
     * Mapped Attribute productVersionStartDate
    */
    static final String ProductVersionStartDate = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductVersionDAO.StartDate,
            com.ourteam.product.requirement.dao.IProductVersionDAO.EntityName +
            ".", "PRODUCT_VERSION.");

    /**
     * Mapped Attribute productVersionEndDate
    */
    static final String ProductVersionEndDate = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductVersionDAO.EndDate,
            com.ourteam.product.requirement.dao.IProductVersionDAO.EntityName +
            ".", "PRODUCT_VERSION.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductVersionStage findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productVersionId
         */
        static final String ProductVersionId = "productVersionId";

        /**
         * Attribute stageName
         */
        static final String StageName = "stageName";

        /**
         * Attribute startDate
         */
        static final String StartDate = "startDate";

        /**
         * Attribute endDate
         */
        static final String EndDate = "endDate";

        /**
         * Attribute actualStartDate
         */
        static final String ActualStartDate = "actualStartDate";

        /**
         * Attribute actualEndDate
         */
        static final String ActualEndDate = "actualEndDate";

        /**
         * Attribute sortIndex
         */
        static final String SortIndex = "sortIndex";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute productVersionName
         */
        static final String ProductVersionName = "productVersionName";

        /**
         * Attribute productVersionStartDate
         */
        static final String ProductVersionStartDate = "productVersionStartDate";

        /**
         * Attribute productVersionEndDate
         */
        static final String ProductVersionEndDate = "productVersionEndDate";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
